package com.open.capacity.tenant.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 路由配置表，用来暂存路由表数据
 * @program: open-capacity-platform
 * @author: GuoGaoJu
 * @create: 2023-03-27
 **/
@Component
@Data
@ConfigurationProperties(value = "tenant.route")
public class TenantRouteProperties {

    //key：spring.schema.tenant-map.{租户标识}
    private String key;

    //读取配置文件
    private String application;

    //读取分支
    private String label;

    //读取环境
    private String profile;
}
